﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace MedicalSystem.SamrtReport.Toolbox.Configuration
{
   public class ToolboxControlElement:ConfigurationElement
    {
      [ConfigurationProperty("name", IsRequired = true,Options=ConfigurationPropertyOptions.IsKey)]
       public string Name
       {
           get
           {
               return this["name"] as string;
           }
           set
           {
               this["name"] = value;
           }
       }

      [ConfigurationProperty("type", IsRequired = true)]
      public string Type
      {
          get
          {
              return this["type"] as string;
          }
          set
          {
              this["type"] = value;
          }
      }
    }
}
